home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5697 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: Norway.EU.net!usenet
  2. From: patrick.hanevold@login.eunet.no (Patrick Hanevold)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Ceck out this bug. What the *** is SASC/6.56 doing?
  5. Date: 18 Mar 1996 19:11:32 GMT
  6. Organization: EUnet Norway
  7. Message-ID: <1065.6651T1207T342@login.eunet.no>
  8. References: <1120.6643T91T406@login.eunet.no> <874.6644T381T2315@login.eunet.no>
  9.     <828.6649T501T491@login.eunet.no> <wulfraedDoDtFz.DzI@netcom.com>
  10. NNTP-Posting-Host: pc6.asker-pm2-1.eunet.no
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13.  
  14. > > >Stack EXTENSION, on the other hand, allows for a "fudge factor".  If the
  15. > > >remaining stack size at function entry time is less than the global long
  16. > > >_STKNEED, a new stack extent is allocated.  The default _STKNEED value
  17. > > >is 400 bytes.
  18. > >     ^^^ This one is too little! It should be 4K by default. Like the OS.
  19. > >
  20. >        Ah... But that only specifies how much must be available FOR THE
  21. >CURRENT FUNCTION -- it does not specify the total size of the stack.  If you
  22. >were running with the default 4K stack, the second nested function invocation
  23. >would rule that a stack extent needs to be allocated since the first function
  24. >used some of the 4K...
  25.  
  26. Well, yes, that is a minor problem, but stack check isnt that usefull with
  27. 400 as a mininimum by default.
  28.  
  29. --
  30. ..    Patrick Hanevold - VR developer - patrick.hanevold@login.eunet.no   ///
  31. ....  Amiga and official Be developer - Visual Technologies           \\\///
  32. ......               wATcH oUT fOr tHE cApSlOcK vIRuS!                 \X//
  33.               <sb>A1200/030/50MHz/34MB/1.3GB Iomega ZIP
  34.  
  35.